package com.bw.server.adapter

import com.bw.server.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class DwAdapter:BaseQuickAdapter<ItemEntity,BaseViewHolder>(R.layout.item_dianwei1) {
    override fun convert(helper: BaseViewHolder, item: ItemEntity) {
        helper.setText(R.id.tv1,item.name)
        helper.setText(R.id.tv2,item.address)
        helper.setText(R.id.tv3,item.status)
    }
}
data class ItemEntity(
    val name:String,
    val address:String,
    val status:String
)